<%@ page import="entity.Board" %>
<%@ page import="Impl.BoardDaoImpl" %>
<%@ page import="dao.IBoardDao" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/4/3
  Time: 12:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>main</title>
</head>
<body background="pic/ManBgroud.gif">
<%
    int bid= Integer.parseInt(request.getParameter("boardId"));
    IBoardDao ibo=new BoardDaoImpl();
    Board board =ibo.getBoardId(bid);
    session.setAttribute("key",bid);
%>

<div style="margin: 0px auto;width: 600px">
    <form action="updzhut_action.jsp" method="post">
        <strong>要修改的主题名字:</strong>
        <input style="width: 300px" type="text" name="upd" value="<%=board.getBoardName()%>">
        <input type="submit" name="sou" value="确认修改">
    </form>

</div>
</body>
</html>
